////
////  NSNull+YYSafeNULL.m
////  DetailNSNULL
////
////  Created by 蓓蕾 on 2021/7/1.
////  Copyright © 2021 YangYang. All rights reserved.
////
//
//#import "NSNull+YYSafeNULL.h"
//
//#import <objc/message.h>
//#define NSNullObjectsArr @[@"", @0, @{}, @[]]
//
//@implementation NSNull (YYSafeNULL)
//
//- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
// {
//    NSMethodSignature *signature = [super methodSignatureForSelector:aSelector];
//    if (!signature) {
//        for (NSObject *obj in NSNullObjectsArr) {
//            signature = [obj methodSignatureForSelector:aSelector];
//            if (signature) {
//                break;
//            }
//        }
//    }
//    return signature;
//}
//- (void)forwardInvocation:(NSInvocation *)anInvocation
//{
//    for (NSObject *objc in NSNullObjectsArr) {
//        if ([objc respondsToSelector:anInvocation.selector]) {
//            [anInvocation invokeWithTarget:objc];
//            return;
//        }
//    }
//}
//
//@end
